﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using iSufeMVC4.WebAPI.Models;

namespace iSufeMVC4.WebAPI.Controllers
{
    public class UserController : ApiController
    {
        public User View(UserNamePswQuery query)
        {
            User result = new User()
            {
                userId = 0,
                name = "Joydragon",
                className = "2007银行与国际金融2班",
                avatarUrl = @"http://hdn.xnimg.cn/photos/hdn321/20120331/1405/tiny_7eOt_57692c019117.jpg",
                status = 1
            };
            return result;
        }
    }
}
